import request from '@/utils/request'

// 查询【请填写功能名称】列表
export function listAuthentication(query) {
  return request({
    url: '/system/authentication/list',
    method: 'get',
    params: query
  })
}

// 查询【请填写功能名称】详细
export function getAuthentication(uid) {
  return request({
    url: '/system/authentication/' + uid,
    method: 'get'
  })
}

// 新增【请填写功能名称】
export function addAuthentication(data) {
  return request({
    url: '/system/authentication',
    method: 'post',
    data: data
  })
}

// 修改【请填写功能名称】
export function updateAuthentication(data) {
  return request({
    url: '/system/authentication',
    method: 'put',
    data: data
  })
}

// 删除【请填写功能名称】
export function delAuthentication(uid) {
  return request({
    url: '/system/authentication/' + uid,
    method: 'delete'
  })
}
export function yes(uid) {
  return request({
    url: '/system/authentication/yes/' + uid,
    method: 'get'
  })
}

export function no(uid) {
  return request({
    url: '/system/authentication/no/' + uid,
    method: 'get'
  })
}

